

#ifndef _HID_RF_H_
#define _HID_RF_H_

#include <stdint.h>

uint16_t HID_RF_Init(uint8_t protocol, uint8_t tcl);
void HID_RF_TransceiveSelect(uint8_t tcl);

void HID_RF_Deselect(void);

void HID_RF_SetFeild(uint8_t state);

uint16_t HID_RF_Transceive(uint8_t *cmd, uint8_t clen, uint8_t* resp, uint16_t *rlen, uint32_t timeout);

int HID_RF_SetDataFormatFlags(uint16_t flags, uint8_t lastBits);

int HID_RF_SetDataRateOut(uint8_t data_rate);

int HID_RF_SetDataRateIn(uint8_t data_rate);

int HID_RF_SetFrameProtocol(uint8_t protocol);

int HID_RF_DoECP(uint8_t expr_tra, uint32_t tb_tci);

int HID_RF_CheckSeosCardType(void);

int HID_RF_SelectSeosCard(const uint8_t aid[], uint8_t alen);

#endif



